package com.aerospace;

import lombok.Data;

import java.io.Serializable;

/**
 * @Author: Aerospace
 * @Date: 2021/5/12 18:39
 * @Description: Dream begins
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = -7020619477594468968L;

    int id;
    String name;

    public User(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString(){
        return "User{" + "id=" +id
                + ",name='" + name + '\''
                + '}';
    }

}
